import Layout from '@/sheep/layouts/index.vue';

export default {
  path: '/wechat/admin',
  name: 'wechat.admin',
  component: Layout,
  meta: {
    title: '微信管理',
  },
  children: [
    {
      path: 'config',
      name: 'wechat.admin.config',
      component: () => import('@/app/wechat/views/config.vue'),
      meta: {
        title: '微信配置',
      },
    },
    {
      path: 'menu',
      name: 'wechat.admin.menu',
      component: () => import('@/app/wechat/views/menu/index.vue'),
      meta: {
        title: '公众号菜单',
      },
    },
    {
      path: 'reply',
      name: 'wechat.admin.reply',
      component: () => import('@/app/wechat/views/reply/index.vue'),
      meta: {
        title: '自动回复',
      },
    },
    {
      path: 'material',
      name: 'wechat.admin.material',
      component: () => import('@/app/wechat/views/material/index.vue'),
      meta: {
        title: '素材管理',
      },
    },
  ],
};
